<header>
    <h3>子账号管理</h3>
    <button class="cancel" (click)="backPersonInfo()">返回</button>
</header>
<ion-content>
    <div class="scroll_content">
        <div>
            <div class="list list_telinfo" *ngFor="let item of list; let i = index">
                <div class="item item-thumbnail-left">
                    <p>姓名：<span>{{item.name}}</span></p>
                    <p>电话：<span>{{item.mobile}}</span></p>
                    <button (click)="delete(i)">删除</button>
                </div>
            </div>
        </div>
    </div>

</ion-content>
<p class="addCount">您当前还可添加{{count}}个子账号：</p>
<div class="FixToBottom">
    <button ion-button block class="btn newCreat" (click)="addChildCount()">+添加子账户</button>
</div>
<div class="component-alert" *ngIf="!showAlert">
    <div id="myBox" class="myBox">
        <div class="tit">删除</div>
        <div class="tips">确认删除子帐号"{{delInfo.name}} {{delInfo.mobile}}"吗?</div>
        <div class="btns">
            <button ion-button class="btn btn-cancel" (click)="btnCancel()">取消</button>
            <button ion-button class="btn btn-choose" (click)="btnChoose()">确认</button>
        </div>
    </div>
</div>
	
